package org.dromara.stock.service;

import org.dromara.stock.domain.AttentionStock;
import org.dromara.stock.domain.vo.AttentionStockVo;
import org.dromara.stock.domain.bo.AttentionStockBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 关注分组明细Service接口
 *
 * @author dongfs
 * @date 2024-06-30
 */
public interface IAttentionStockService {

    /**
     * 查询关注分组明细
     */
    AttentionStockVo queryById(Long id);

    /**
     * 查询关注分组明细列表
     */
    TableDataInfo<AttentionStockVo> queryPageList(AttentionStockBo bo, PageQuery pageQuery);

    /**
     * 查询关注分组明细列表
     */
    List<AttentionStockVo> queryList(AttentionStockBo bo);

    /**
     * 新增关注分组明细
     */
    Boolean insertByBo(AttentionStockBo bo);

    /**
     * 修改关注分组明细
     */
    Boolean updateByBo(AttentionStockBo bo);

    /**
     * 校验并批量删除关注分组明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
